<?php
class logoutAction extends sfAction
{

  public function execute($request)
  {
    $this->getUser()->setAuthenticated(false);
    $this->redirect('@homepage');
  }

}